package OrderService.config;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.FeignClientsConfiguration;
import org.springframework.context.annotation.Bean;

//@FeignClient(value = "UserService",configuration = FeignClientsConfiguration.class) //局部生效 和value相关
public class DefaultFeignConfiguration {
    @Bean
    public feign.Logger.Level feignLoggerLevel() {
        return feign.Logger.Level.BASIC;
    }
}
